<template>
  <v-md-editor v-model="text" height="400px" @save="save"></v-md-editor>
</template>

<script>
export default {
  data() {
    return {
      text: '# title\n## title2',
    }
  },
  methods: {
    save(text, html) {
      console.log(typeof text)
      console.log(typeof html)
    }
  }
};
</script>

<style scoped>

</style>
